package com.sdx.console.transaction.service;

import com.ibeetl.admin.core.service.BaseService;
import com.sdx.console.transaction.dao.OrderListDao;
import com.sdx.console.transaction.entity.FinTransaction;
import org.beetl.sql.core.engine.PageQuery;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @ClassName OrderListService
 * @Description
 * @Author kangbin
 * @Date 2020/3/24 10:15
 */
@Service
public class OrderListService extends BaseService<FinTransaction> {

    @Resource
    private OrderListDao orderListDao;


    public PageQuery<FinTransaction> queryByCondition(PageQuery query){
        PageQuery ret =  orderListDao.queryByCondition(query);
        queryListAfter(ret.getList());
        return ret;
    }
}
